package com.wolfword.crawler.server.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 解析信息列表
 * 
 * @author Server Zhang
 * @date 2018-01-11 10:54:52
 */
public class AnalyzedInfoListEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	// 唯一ID
	private Long id;
	// 解析类型：1邮箱，2手机，3职称
	private Integer type;
	// 解析内容
	private String content;
	// 任务ID
	private Long taskId;
	// 邮址密文
	private String urlShort;
	// 创建时间
	private Date createTime;

	/**
	 * 获取：唯一ID
	 * 
	 * @return id 唯一ID
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置：唯一ID
	 * 
	 * @param id
	 *            唯一ID
	 */
	public void setId(Long id) {
		this.id = id;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getTaskId() {
		return taskId;
	}

	public void setTaskId(Long taskId) {
		this.taskId = taskId;
	}

	/**
	 * 获取：
	 * 
	 * @return urlShort
	 */
	public String getUrlShort() {
		return urlShort;
	}

	/**
	 * 设置：
	 * 
	 * @param urlShort
	 */
	public void setUrlShort(String urlShort) {
		this.urlShort = urlShort;
	}

	/**
	 * 获取：
	 * 
	 * @return createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * 设置：
	 * 
	 * @param createTime
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "TitleListEntity{" + "id=" + id + ", type=" + type
				+ ", content=" + content + ", taskId=" + taskId + ", urlShort="
				+ urlShort + ", createTime=" + createTime + '}';
	}
}
